from rest_framework import serializers
from book import models

class BookSer(serializers.ModelSerializer):
    class Meta:
        model = models.BookModel
        fields = '__all__'


class BookRecordSer(serializers.ModelSerializer):
    class Meta:
        model = models.BookRecordModel
        fields = '__all__'



